package net.pws.oos.web.dto;

import java.util.HashMap;
import java.util.Map;

@SuppressWarnings({ "rawtypes", "unchecked" })
public class AbstractTreeNode implements TreeNode {

	protected Map data = new HashMap();

	protected Map metadata = new HashMap();

	protected String state = "closed";

	public void setTitle(String title) {
		this.data.put("title", title);
	}

	public Map getData() {
		return data;
	}

	public Map getMetadata() {
		return metadata;
	}

	public String getState() {
		return state;
	}

}
